<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
<!-- 	1<style type="text/css">
		.g-container{
			background: red;
		}
		#gMain{
			background: orange;
		}
		div{
			background: pink!important;
		}
	</style> -->
<!-- 	2<style type="text/css">
		.g-container div{    /*class+标签=11*/
			background: red;

		}
		div	#gPic{   /*标签+id=101*/
			background: blue;
		}
	</style> -->
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		.g-container{
			/*width: 10vw;*/
			/*height: 100vh;*/
			width :100%;
			padding: 10px;
			margin: 10px;
			background: red;
		}
		.g-wrap{
			width :100px;
			background: blue;

		}
		.g-content{
			width :80%;
			background: pink;
		}
		
	</style>
</head>
<body>

<!-- 1<div class='g-container' id='gMain' style='background: blue;'>1111	
</div> -->
<!-- 2<div class='g-container'>
	<div class='g-pic' id='gPic'>这是文字</div>
</div> -->

<div class='g-container'>11111</div>
<div class='g-wrap'>
	<div class='g-content'>111</div>
</div>


</body>
</html>